const path = require('path');

module.exports = app => {
  const exports = {};

  //本地数据库
  exports.sequelize = {
    host: '127.0.0.1',
    port: 33060,

    database: 'live',
    username: 'live',
    password: '',

    timezone: '+08:00',
    logging: false,
  };

  exports.redis = {
    client: {
      port: 63790,          // Redis port
      host: '127.0.0.1',   // Redis host
      password: '',
      db: 0,
    },
    agent: true,
  };

  return exports;
};
